package cn.hairui.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 友情链接表
 * </p>
 *
 * @author laoganbu
 * @since 2020-04-12
 */
public class Link implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 网站名称
     */
    @TableField("WEBNAME")
    private String webname;

    /**
     * 介绍
     */
    @TableField("MOTTO")
    private String motto;

    /**
     * 网站地址
     */
    @TableField("URL")
    private String url;

    /**
     * 网站图标
     */
    @TableField("WEBICON")
    private String webicon;

    /**
     * 站长姓名
     */
    @TableField("WEBMASTER")
    private String webmaster;

    /**
     * 微信号
     */
    @TableField("WECHAT")
    private String wechat;

    /**
     * 站长手机号
     */
    @TableField("PHONE")
    private String phone;

    /**
     * 站长邮箱
     */
    @TableField("EMAIL")
    private String email;

    /**
     * 分类
     */
    @TableField("TYPE")
    private String type;

    /**
     * 状态
     */
    @TableField("STATUS")
    private String status;

    /**
     * 添加时间
     */
    @TableField("CREATETIME")
    private String createtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWebname() {
        return webname;
    }

    public void setWebname(String webname) {
        this.webname = webname;
    }

    public String getMotto() {
        return motto;
    }

    public void setMotto(String motto) {
        this.motto = motto;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getWebicon() {
        return webicon;
    }

    public void setWebicon(String webicon) {
        this.webicon = webicon;
    }

    public String getWebmaster() {
        return webmaster;
    }

    public void setWebmaster(String webmaster) {
        this.webmaster = webmaster;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "Link{" +
                "id=" + id +
                ", webname=" + webname +
                ", motto=" + motto +
                ", url=" + url +
                ", webicon=" + webicon +
                ", webmaster=" + webmaster +
                ", wechat=" + wechat +
                ", phone=" + phone +
                ", email=" + email +
                ", type=" + type +
                ", status=" + status +
                ", createtime=" + createtime +
                "}";
    }
}
